package cn.tianya.irock.data.model;

import java.util.ArrayList;

public class Vote {
	
	private ArrayList<VoteItem> items;
	private String title;
	
	public Vote() {
		items = new ArrayList<VoteItem>();
	}
	
	public VoteItem getItem(int index) {
		return items.get(index);
	}
	
	public void add(VoteItem item) {
		items.add(item);
	}
	
	public int getCount() {
		return items.size();
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	
}
